import { request } from '@/utils/request.js'

const baseUrl = `/api`

export function _getCollection() {
  return request({
    url: baseUrl + '/collection/statisticalCollectionHouseAll',
    method: 'get'
  })
}

export function _getComment() {
  return request({
    url: baseUrl + '/collection/statisticalCollectionCommentAll',
    method: 'get'
  })
}

export function _getAppoint() {
  return request({
    url: baseUrl + '/appointment/statisticalAppointmentAll',
    method: 'get'
  })
}

export function _getViews() {
  return request({
    url: baseUrl + '/house/statisticalViewsAll',
    method: 'get'
  })
}
